#!/usr/bin/env python
# -*- coding: utf-8 -*-
from documents.itemtype import ItemType
from link.models import Link
from link.template_tags import render_add_item, render_add_document_item,\
    render_show_item

# Initialize as Item - let the Documents app know we exists
item_type = ItemType('Verlinkung', 'Verlinkung zu externer Seite', Link, 'link.views.link', 'link.views.add_link', 'link.views.add_document_link', 'link.views.delete_link', 'link.views.change_link', render_add_item, render_add_document_item, render_show_item)
item_type.register()